package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("线索池zsgc创建参数")
public class ClientCrmCluepoolCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线索池编号")
    private Integer id;

    @NotNull(message = "contactName参数缺失")
    @ApiModelProperty(value = "联系人")
    private String contactName;

    @NotNull(message = "customerName参数缺失")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @NotNull(message = "number参数缺失")
    @ApiModelProperty(value = "电话")
    private String number;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "手机")
    private String phone;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "线索类型")
    private String type;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "线索状态")
    private Integer status;

    @NotNull(message = "nextFollowUpTime参数缺失")
    @ApiModelProperty(value = "下次跟进时间")
    private String nextFollowUpTime;

    @NotNull(message = "formerBusinessPersonnelId参数缺失")
    @ApiModelProperty(value = "前业务人员")
    private Integer formerBusinessPersonnelId;

    @NotNull(message = "formerBusinessPersonnelName参数缺失")
    @ApiModelProperty(value = "前业务人员")
    private String formerBusinessPersonnelName;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "操作人ID")
    private Integer userId;

    @NotNull(message = "userName参数缺失")
    @ApiModelProperty(value = "创建人")
    private String userName;

}
